export const logArr = (arr) => {
  arr.forEach((item, index) => {
    console.log(item, index)
  })
}
